package com.zyj.exam_app.login.service;

import com.zyj.exam_app.login.bean.LoginInfo;
import com.zyj.exam_app.user_manager.bean.UserBean;
import com.zyj.exam_app.user_manager.mapper.UserMapper;
import org.apache.catalina.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


public interface LoginService {

    /**
     * 登录
     * @param user
     * @return
     */
    public LoginInfo doLogin(UserBean user);

    /**
     * 检查是否已经登录
     * @return
     */
    public boolean checkUserHasLogin();
}
